package com.youlin.entities;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * 签到模板表
 * @author ${author}
 * @since 2020-05-29
 */
@NoArgsConstructor
@Data
@Accessors(chain=true)
public class BygSignInTemplate implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "签到模板ID", position = 1)
    private Integer id;

    // 模板内容
    @ApiModelProperty(value = "模板内容", position = 2)
    private String content;

    // 计算比重
    @ApiModelProperty(hidden = true)
    private Integer weight;

}
